
package it.orma.iridehr.controllers.ricerca;

import it.orma.iridehr.entities.News;

import java.io.Serializable;
import java.util.List;

public class NewsForm implements Serializable {
	private String query;
	private Integer pagina;
	private Integer recordPerPagina;
	private Integer resultSize;
	private String tipoRicerca;
	private boolean searched;
	private List<News> news;
	private Integer newsTot;
	private String emailHTML;
	private String hideNews;
	private String idCandidatoToNotify;
	private String idNewsToHandle;

	public NewsForm() {
		super();
		this.pagina = 0;
		this.recordPerPagina = 20;
	}

	public NewsForm(Integer pagina, Integer recordPerPagina) {
		super();
		this.pagina = pagina;
		this.recordPerPagina = recordPerPagina;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public Integer getPagina() {
		return pagina;
	}

	public void setPagina(Integer pagina) {
		this.pagina = pagina;
	}

	public Integer getRecordPerPagina() {
		return recordPerPagina;
	}

	public void setRecordPerPagina(Integer recordPerPagina) {
		this.recordPerPagina = recordPerPagina;
	}
	
	public Integer getResultSize() {
		return resultSize;
	}

	public void setResultSize(Integer resultSize) {
		this.resultSize = resultSize;
	}

	public String getTipoRicerca() {
		return tipoRicerca;
	}

	public void setTipoRicerca(String tipoRicerca) {
		this.tipoRicerca = tipoRicerca;
	}

	public boolean isSearched() {
		return searched;
	}

	public void setSearched(boolean searched) {
		this.searched = searched;
	}

	public List<News> getNews() {
		return news;
	}

	public void setNews(List<News> news) {
		this.news = news;
	}

	public Integer getNewsTot() {
		return newsTot;
	}

	public void setNewsTot(Integer newsTot) {
		this.newsTot = newsTot;
	}

	public String getEmailHTML() {
		return emailHTML;
	}

	public void setEmailHTML(String emailHTML) {
		this.emailHTML = emailHTML;
	}

	public String getIdCandidatoToNotify() {
		return idCandidatoToNotify;
	}

	public void setIdCandidatoToNotify(String idCandidatoToNotify) {
		this.idCandidatoToNotify = idCandidatoToNotify;
	}

	public String getIdNewsToHandle() {
		return idNewsToHandle;
	}

	public void setIdNewsToHandle(String idNewsToHandle) {
		this.idNewsToHandle = idNewsToHandle;
	}

	public String getHideNews() {
		return hideNews;
	}

	public void setHideNews(String hideNews) {
		this.hideNews = hideNews;
	}


}
